<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>开关界面</title>
		<link rel="stylesheet" type="text/css" href="css/didi2.css"/>
	</head>
<script type="text/javascript">
	(function (doc, win) {
            var docEl = doc.documentElement,
                    resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
                    recalc = function () {
                        window.clientWidth = docEl.clientWidth;
                        if (!window.clientWidth) return;
                        docEl.style.fontSize = 20 * (window.clientWidth / 640) + 'px';
                        window.base = 20 * (window.clientWidth / 640);
                    };

            try {
                recalc();
            } catch (e) {

            }
            if (!doc.addEventListener) return;
            win.addEventListener(resizeEvt, recalc, false);
            doc.addEventListener('DOMContentLoaded', recalc, false);
        })(document, window);
        window.canvasWidth = document.documentElement.clientWidth;
        window.canvasHeight = document.documentElement.clientHeight;
</script>	
<body>
	<div id="box"></div>
</body>
<script src="js/jquery.js"></script>
<script type="text/javascript" src="js/didi2.js"></script>
</html>
